/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.aksw.treelearning.tree;

import org.aksw.treelearning.data.Cache;
import org.aksw.treelearning.data.Mapping;

/**
 *
 * @author ngonga
 */
public class Tree {
    
    Node root;
    Cache source;
    Cache target;
    
    public Tree(Cache source, Cache target)
    {
        root = null;
        this.source = source;
        this.target = target;
    }
    
    public boolean isEmpty()
    {
        if(root == null) return true;
        else return false;
    }
    
//    //TODO
//    public Mapping computeMapping()
//    {
//        root.propagateMapping(source, target);        
//    }
    
}
